package com.danikula.videocache;

/**
 * 常量类
 */
public class Constants {
    /**
     * 临时缓存文件文件格式
     */
    public static final String TEMP_POSTFIX = ".download";
    /**
     * 分节点缓存的相关缓存信息sp
     */
    public static final String VIDEO_CACHE_SP = "video_cache_sp";
    /**
     * 分节点/分段缓存的视频总长度
     */
    public static final String CACHE_FILE_LENGTH = "cache_file_length";
    /**
     * 分段缓存的临时文件路径
     */
    public static final String CACHE_FILE_PATH = "cache_file_path";
    /**
     * 分段缓存的完成文件路径
     */
    public static final String CACHE_COMPLETE_FILE_PATH = "cache_complete_file_path";
    /**
     * 本地拼接的代理url
     */
    public static final String BASE_PROXY_URL = "http://%s:%d/%s";
}
